import 'package:flutter/material.dart';

class SettingPage extends StatefulWidget {
  SettingPage({Key? key}) : super(key: key);

  @override
  _SettingPageState createState() => _SettingPageState();
}

class _SettingPageState extends State<SettingPage> {
  @override
  Widget build(BuildContext context) {
    return Container(
      child: Column(
        children: [
          ElevatedButton(
              onPressed: () {
                Navigator.pushNamed(context, '/login');
              },
              child: Text("跳转到登陆页面")),
          ElevatedButton(
              onPressed: () {
                Navigator.pushNamed(context, '/registerFirst');
              },
              child: Text("跳转到注册页面"))
        ],
      ),
    );
  }
}
